package com.oop.demo14;

public class Student {
    public static void main(String[] args) {
        Person person = new Person();
        person.setName("大王");
        person.setAge(12);
        person.setGender(0);
        person.work();
        System.out.println(person.getGender());
        System.out.println(person.getName());

    }
}
